﻿using UnityEngine;
using System.Collections;

public class MenuSelection : MonoBehaviour 
{
	public bool quitButton = false;
	public string sceneLink = "";
	
	void OnMouseEnter()
	{
		guiText.material.color = Color.green;
	}
	
	void OnMouseExit()
	{
		guiText.material.color = Color.white;	
	}
	
	void OnMouseUp()
	{
		if(quitButton)
		{
			Application.Quit();	
		}
		else
		{
			Application.LoadLevel (sceneLink);	
		}
	}
}
